package com.hopu.service.Impl;

import com.hopu.mapper.BiaoMapper;
import com.hopu.mapper.DjtfMapper;
import com.hopu.pojo.Biao;
import com.hopu.pojo.Djtf;
import com.hopu.service.BiaoService;
import com.hopu.service.DjtfService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BiaoServiceImpl implements BiaoService {
   @Autowired
   private BiaoMapper biaoMapper;


    @Override
    public List<Biao> findAllBiao() {
        return biaoMapper.findAllBiao();
    }

    @Override
    public Biao findBiaoByBid(int bid) {
        return biaoMapper.findBiaoByBid(bid);
    }

    @Override
    public int addBiao(int hid, Float dkd, Float skd, Float mkd, long mtime, int eid) {
        return biaoMapper.addBiao(hid,dkd,skd,mkd,mtime,eid);
    }

    @Override
    public int uppBiao(Biao biao) {
        return biaoMapper.uppBiao(biao);
    }
}
